<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			.con{
				text-align: center;
			}
			.con>div{
				width:10px;
				height: 100px;
				background-color: #000000;
				display: inline-block;
				border-radius: 5px;/*变成圆形边框*/
				animation-name:wait ;
				animation-duration: 5s;/*等待一秒*/
				animation-iteration-count: infinite;/*动画的播放次数*/
				}
				@-webkit-keyframes wait{
					0%{
						transform: scaleY(0.4);
					}
					20%{
						transform: scaleY(1);
					}
					40%/*百分比都代表着间隔*/{
						transform: scaleY(0.4);
					}
					100%{
						transform: scaleY(0.4);
					}
					
				}
			.con>div:nth-child(2){
				animation-delay: 0.1s;
			}/*动画的延迟时间*/
			.con>div:nth-child(3){
				animation-delay: 0.2s;
			}
			.con>div:nth-child(4){
				animation-delay: 0.3s;
			}
			.con>div:nth-child(5){
				animation-delay: 0.4s;
			}
			.con>div:nth-child(6){
				animation-delay: 0.4s;
			}
			.con>div:nth-child(7){
				animation-delay: 0.5s;
			}
			.con>div:nth-child(8){
				animation-delay: 0.6s;
			}
			.con>div:nth-child(9){
				animation-delay: 0.7s;
			}
			.con>div:nth-child(10){
				animation-delay: 0.8s;
			}
			.con>div:nth-child(11){
				animation-delay: 0.9s;
			}
			.con>div:nth-child(12){
				animation-delay: 0.10s;
			}
			.con>div:nth-child(13){
				animation-delay: 0.11s;
			}
			
			
		</style>
	</head>
	<body>
		<div class="con">
			<div></div>
			<div></div>
			<div></div>
			<div></div>
			<div></div>
			<div></div>
			<div></div>
			<div></div>
			<div></div>
			<div></div>
			<div></div>
			<div></div>
		</div>
	</body>
</html>
